package com.yunfei.api.user.result;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @program: zntg_v1
 * @description:
 * @author: zhengyunfei
 * @create: 2018-10-30 10:48
 **/
@Data
public class GetCodeResult implements java.io.Serializable{
    @ApiModelProperty(value = "返回编码<br>code=1004,message=手机号码格式错误;<br>code=1045,message=短信验证码发送成功")
    private String code;
    @ApiModelProperty(value = "返回message")
    private String message;
    @ApiModelProperty(value = "当code=1045的时候，返回短信验证码")
    private Object data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
